package com.douya.common.property;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 说明: 通用配置参数
 *
 * @Author hcy
 * @Date 2022/11/24
 */
@Configuration
@ConfigurationProperties(prefix = "douya.common")
@Data
@Accessors(chain = true)
public class DouYaCommonProperties {

    /**
     * 是否开启sql打印 不带占位符 enable-sql-logger
     */
    private boolean enableSqlLogger = false;

}
